package autotest;

import org.quartz.Job;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import autotest.TestQuatz.Person;

public class HelloJob implements Job {

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		JobDataMap map = context.getJobDetail().getJobDataMap();

		Person p = (Person) map.get("p");
		System.out.println("hello,world=======================id:" + p.getId());
	}

}
